package com.coderly.onlinegallerysharingplatform.model.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 图片分享表
 * @TableName t_picture_share
 */
@TableName(value ="t_picture_share")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PictureShareDO {
    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 图片ID
     */
    private Long pictureId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 分享状态(0：未分享 1：分享)
     */
    private Integer isShared;
}